package org.krams.tutorial.client;

import java.io.Serializable;
import java.util.Date;

/**
 * User: volyn
 * Date: 06.05.12
 * Time: 21:09
 */
public class MoneyDTO implements Serializable {
    private Date date;
    private double amount;

    public MoneyDTO() {
    }

    public MoneyDTO(Date date,double amount) {
        this.amount = amount;
        this.date = date;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
